home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
COMMUNIC
/
DOTFAX.ZIP
/
README.TXT
< prev
Wrap
Text File
|
1993-01-12
|
2KB
|
62 lines
DOTFAX.ZIP - README.TXT
This is an example of a Word for Windows macro to send a fax
using WinFax PRO 3.0.
In addition to this file, the ZIP file contains a copy of the
standard WinWord template FAX.DOT that came with WinWord.
Only two changes have been made to that template:
1. to change the style applied to the word/paragraph
"To:" in the left cell of the first line of the table
that contains the addressee information from the style
"To" to the style "Normal" (see later explanation for
why).
2. to copy the macro "FaxSend" to the template.
You can use this template as-is, or copy the FaxSend macro to
your own cover sheet. The only requirement of the macro is
that the recipient's name must be formatted with a style that
is called "To" and the destination fax number must be formatted
with a style that is called "ToFax". In both cases, they must
be the first instance of the use of that style. Your fax
cover sheet should be set up in a table form similar to this
example so that the styles can be applied to only the relevant
text.
What does the macro do?
First it asks you if you really want to send a fax.
Next it asks if you want to attach a WinWord DOC to the fax.
If yes, it offers a selection of DOC files in your DOC
directory and lets you pick one; then inserts a "next page"
section break and inserts the file. Note that the page
count on the cover sheet is NOT adjusted for this DOC.
If no, the macro continues from here.
Next the macro looks for WinFax PRO and loads it if
necessary and proceeds to send out the fax.
After sending the fax, you will be left with the minimized
WinFax PRO icon in the foreground and you will have to
manually return to WinWord. I haven't been able to get
the macro to return automagically. If anyone has got this
secret, please let me know.
I don't represent this to be expert code and much of it is
borrowed from the example in the WinFax PRO documentation
and other references - but it works for me. I thought it
might be of interest to others trying to get up and
running with 3.0.
If you have questions or better ways to do things, I'd sure
love to hear from you.
Jim Hanlon
76127,310